﻿using RabbitBus;
using RabbitMQClient.Receive;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RabbitMQClient.Consumer
{

    [QueueConsumer("Test")]
    public class TestConsumer : ConsumerBase<TestReceive>
    {
        protected override void Receive(TestReceive eEvent)
        {
            Console.WriteLine($"执行TestConsumer成功,消息为:{eEvent.Msg}");
        }
    }
}
